package com.xzy.mybatis.cipher.annotation;

import com.xzy.mybatis.cipher.spring.MybatisCipherRegistrar;
import com.xzy.mybatis.cipher.support.properties.MybatisCipherProperties;
import com.xzy.mybatis.cipher.support.strategy.crypto.CryptoStrategy;
import org.springframework.context.annotation.Import;

import java.lang.annotation.*;

/**
 * @author xzy.xiao
 * @since 2025/1/14  18:43
 */
@Documented
@Inherited
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
public @interface CustomCryptoStrategy {

    String name();

    Class<? extends CryptoStrategy> clazz();

}
